﻿using System;
using FamilyBook.UI.WPF.ViewModels;

namespace FamilyBook.UI.WPF.Interaction
{
    public class DetailsInteractionRequestEventArgs : EventArgs
    {
        public DetailsInteractionRequestEventArgs(IViewModel viewMiodel, Action callBack)
        {
            ViewModel = viewMiodel;
            Callback = callBack;
        }

        public IViewModel ViewModel { get; set; }
        public Action Callback { get; private set; }
    }
}
